package com.love.usedcar.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

/**
 * 车辆-配置关联（多对多关系映射）对象 USED_CAR_CAR_CONFIG
 * 
 * @author love
 * @date 2025-10-01
 */
public class UsedCarCarConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联记录ID */
    private Long ID;

    /** 车辆ID（关联LOVE_USED_CAR表） */
    @Excel(name = "车辆ID", readConverterExp = "关=联LOVE_USED_CAR表")
    private Long carId;

    /** 配置ID（关联USED_CAR_CONFIG表） */
    @Excel(name = "配置ID", readConverterExp = "关=联USED_CAR_CONFIG表")
    private Long configId;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("carId", getCarId())
            .append("configId", getConfigId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
